package A01File;

import java.io.File;
import java.util.Arrays;

public class FileDemo1 {
    public static void main(String[] args) {
        //C:\Users\Zdm\Desktop
        File file1 = new File("C:\\Users\\Zdm\\Desktop\\a.txt");
        System.out.println(file1);

        System.out.println("----------------");

        File file2 = new File("C:\\Users\\Zdm\\Desktop" + "\\a.txt");
        System.out.println(file2);
    }
}
